adapt to mrb_float_value API change.