amd/common: add ac_get_spi_shader_z_format()