Fix a configure check.

This checks for -Wno-deprecated-objc-pointer-introspection with -Werror,
as old Clang versions do not know
-Wno-deprecated-objc-pointer-introspection and thus issue a warning for
it, which leads to an error if -Werror is added after the configure
script.