Fix test failures after addrspacecast added.

Bitcasts between address spaces are no longer allowed.