cocoa: simplify logic that returns used bits per color