[PATCH openEuler-22.03-LTS 10/16] arm64: factor insn read out of call_undef_hook()