use RHASH_SIZE

Since 1.8.7, ruby provides `RHASH_SIZE()` macro.
Use it for compatibility instead of `RHASH_LEN()`.