Handle an addrspacecast case in memcpyopt