Teach computeKnownBits to look through addrspacecast.

This fixes inferring alignment through an addrspacecast.