radeonsi: allow si_shader_select_with_key to return an optimized shader or fail