Fix round and trunc functions to work with integer arguments, see https://svn.boost.org/trac/boost/ticket/10066.