x86/microcode/amd: Extract current patch level read to a function