Store reverse video state as a mask to make put_char more efficient