[PATCH openEuler-1.0-LTS 1/5] arm64: add a helper function to traverse arm64_ftr_regs