Move incRefs()/decRefs() logic from Allocation -> Type.

BUG=6009244

This refactoring will make it easier to implement proper type tracking (for
updating reference counts using FieldPacker).

Change-Id: If42b23193e81bc36ca5508a3d6987e73824107a1
3 files changed