Override equals()/hashCode() for RS BaseObj.

This will be used by slang reflection to type-check parameters to functions
that are of Allocation types (such as what happens with forEach).

BUG=4203264

Change-Id: I2ba94531bbf53becf7695b253e1faa3dff099894
1 file changed