More reboust class_addIvar.

Reviewed by @tolmasky.