Get right cost for addrspacecast in cost model