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