Bug 1081676 -  Debug output for LayoutRenderingManager.p.getTargetObject() +shepherd

`Object.getPrototypeOf` throws if `target` is `undefined`.