Bug 1021739 - Transform the selfhosting IsObject function into an intrinsic, r=h4writer