lib/int_sqrt.c: optimize square root algorithm

Signed-off-by: flar2 <asegaert@gmail.com>

idea is taken here -
https://github.com/zarboz/M7wlv_KK_kernel/commit/65fbdce2bbff25269cf0f4aeb7ddd7b79d769d4b