ac/nir: remove type and num_channels args from ac_build_buffer_store_common