libft_adapter: correct position of abs statements