The `DIM` flag changes the foreground color, so it would be more convenient for renderers if this was in `FgFlags`. Context: https://github.com/xtermjs/xterm.js/pull/4681#discussion_r1297317428