*/flags_table: modify flags tables to use constants.