sparc: move DT and QT defines to op_helper.c