Add compiler flag to force color output

This adds the flag --force-color-output. Why this is beneficial is
explained in issue #12881.

Please note that this commit doesn't include any regression tests. I
thought about how I'd write a test for this and it doesn't seem to be
worth the effort to me for a UI change like this.

Fixes #12881.