Add getBitCastOrAddrSpaceCast
Fix assert with copy from global through addrspacecast