Clang: fix API version checks.

That patch still hasn't landed in clang...

Change-Id: Id6c1728c1831190eeecffd4201d1bbd69c029c1a
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>