lib/int_sqrt.c: optimize square root algorithm
Thanks to https://github.com/jfdsmabalot/kernel_samsung_msm8974ab/commit/c0733d6ddc224481fbf06c43b93afe5b5d8bbcd9