intel/nir: Add a helper for getting BRW_AOP from an intrinsic