radv: move shader_z_format calculation to pipeline.