treewide: use uint64_t / (u)intptr_t in image address calculations
16K * 16K * 16bpp = 4G, which overflows int32, so layer_stride needs to have 64 bits. More generally, any "byte_stride * height" computation can overflow int32.
Use (u)intptr_t in some gallium and st/mesa places where we do CPU access. Use uint64_t otherwise.