[PATCH openEuler-5.10 06/23] arm64: alternatives: Move length validation in alternative_{insn, endif}