decklink: Implement Windows string conversion with common API between MinGW and MSVC