Provide a fallback version of the libm function trunc