[Bug 7757] GetDeviceCaps(NUMCOLORS) returns wrong value: -1