Use RARRAY_* macro instead of accessing RArray field.
Merge pull request #2077 from take-cheeze/rstruct_macro

Use RARRAY_* macro instead of accessing RArray field.