configure: Move the .object_arch check to the right place