configure: Only do objc_* checks for Apple runtime

Otherwise it will pull in autorelease.m / instance.m twice (once in
ObjFW, and once in the runtime).