[console][output] Fix StreamOutput._hasColorSupport