Add spec for rb_str_free
Implement dummy rb_str_free

Fixes #2518