kvm: Fix enable_cap helpers on older gcc