Bug 1018620 - Make sure RegExpShareds fetched from objects are in the right compartment, r=billm.