scan.cc: move UnaryOperatorKind2pet_op_type, BinaryOperatorKind2pet_op_type up