hwcap: fixup from Linux patch