[PATCH for-stable-4.14 26/48] arm64: Add helpers for checking CPU MIDR against a range