Bug 1037235 - toolkit/loader doesn't check module compatibility (part 2 xpcshell fixes)