Update iodevice_provider_memory.cpp

fixes mingw build
Merge pull request #27 from xantares/patch-1

Update iodevice_provider_memory.cpp