Fix build error against -Werror=format-security
client-ruby-ext: Replace STR2CSTR with StringValuePtr