libm: add fallbacks for various single-precision functions