pan/midgard: Use shader stage in mir_op_computes_derivative