nir/builder: Make nir_get_ptr_bitsize take a nir_shader