Bug 1091594 - Added explicit integer casts to char16ptr_t. r=jmathies

--HG--
extra : rebase_source : b351ddfcd263c8dfee436f00ab8a917d8bfc36e2
Bug 856566 -  Fix crashreporter compilation and profiler on mingw. r=ted

--HG--
extra : rebase_source : def8db32e1474876ea10cc3f106a2ce75acda8e9