[PATCH 4.9 22/61] arm64: Add hypervisor safe helper for checking constant capabilities