Merge pull request #2500 from ludovic-henry/monoerror-mono_string_alloc