Don't setup RFLOAT structure if not needed

When retrieving the value, we don't have to create an RFloat structure.
This prevents flushing to be setup for the json gem. Combined with
https://github.com/rubysl/rubysl-json/commit/ba975d10a66eded96e427fd52321377a6184fab0
this improves the performance of issue #2710 greatly.