Work around amiga-gcc not having trunc()