CPPasteboard availableTypeFromArray fix issue #1683

A simple test:
```

[[CPPasteboard generalPasteboard] declareTypes:["Type1", "Type2", "Type3", "Type4"] owner:nil];
alert([[CPPasteboard generalPasteboard] availableTypeFromArray:["Type3", "Type2"]]);
// should return "Type3"    
```