log: fix compilation failure on mingw due to reference to undefined set_color256