R600: Emit CF_ALU and use true kcache register.
R600/SI: Share code recording ShaderTypeAttribute between generations