Merge pull request #1996 from KhronosGroup/fix-1993

MSL: Fix various bugs with Ptr/U bitcasts.