x86/xen: Remove undefined behavior in setup_features()