lib/int_sqrt.c: optimize square root algorithm

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

Fix a madvise merge