libm: Import fdim{,f,l} functions from FreeBSD.