[cs] fix usage of StringMap.get in haxe.Resource so it doesn't get removed by DCE
Merge pull request #2383 from nadako/cs_resources_dce_fix

[cs] fix usage of StringMap.get in haxe.Resource so it doesn't get removed by DCE