Use trunc module from gnulib instead of our home-grown solution.