configure: Factorize check_64_bit()