fix getting of display ICC profile on OS X Mavericks.

let's hope it works on older version too.
this solution may not be reliable, but works fine on simple dual-head setup
(it's better to use NSWindow and NSScreen, but it requires Obj-C)