[BACKPORT 4.4.y 24/25] lib/int_sqrt: optimize small argument