[PATCH OLK-5.10 1/4] [Backport] x86/cpu/amd: Move the errata checking functionality up