implement __rt_ffs for armv5

implement __rt_ffs for armv5 architecture