nir,amd: remove trinary_minmax opcodes