Make ansi-term-color-vector modification compatible with Emacs 24.3