Use gcc builtins instead of library functions for ffs*