[SharpDX] Fix issue with string marshaling on Windows Phone