[PATCH openEuler-5.10 1/3] kabi: only reserve flags on X86_64 and ARM64