cmake: Refuse to build with Xcode generator.

Building with Xcode generator fails (missing includes), and I don't have
the time to deal with it when Make/Ninja works just fine.
cmake: Address CMP0042 policy warning.
cgltrace: Refuse to run with DYLD_IMAGE_SUFFIX.

As painstainkily found by Stephen Kelly.