Fix undefined behavior in syntax_option_type::operator~ and match_flag_type::operator./a.out  Found by UBSan