[OLK-5.10] kabi: only reserve flags on X86_64 and ARM64