CPXYGraph initWithFrame: needs an explicit cast in release mode

The existing code builds fine in Debug mode but fails in Release. Casting
NSRect to CGRect (which have identical layouts in memory) fixes the issue.