arm64: Add a function to check a range of CPU revs
Add a function that can check if a given midr is within a range of
revisions. This will be used to check if a CPU is affected by a known
erratum.
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D52187