configure: split $cpu handling by arch