R600/SI: Fix fmin_legacy / fmax_legacy matching for SI

select_cc is expanded on SI, so this was never matched.
Fix assert/crash on invalid with __builtin_constant_p conditionals in constant expressions.