r300/fragprog: No longer rely on hardcoded FRAG_RESULT_xxx constants