Adapt SYS.h to use retguard macros from asm.h, so that generated systemcalls are guarded. Adapt the first few hand-written functions to thismodel (a few remain)ok kettenis mortimer
Provide an optimized implementation of ffs(3) in libc onaarch64/powerpc/powerpc64, making use of the count leadingzeros instruction. Also add a brief regression test.ok deraadt@ kettenis@