Add missing definition for capi_rfloat_value to headers

Also adds explicit defines that we have rb_time_* functions.

Fixes #2714