configure: Check for buggy -Wunused-property-ivar

This warning is buggy in old Clang versions (at least in 3.4 as shipped
by Ubuntu 14.04), as it gets confused if a class has a class method with
the same name as a property.