stm: Wrap some functions in MICROPY_ENABLE_FLOAT.