Cleanup duplicate rbx_get_ivar helper