configure: Check for the math function rint