Bug 1104193 - nullcheck for the principal in nsContentUtils::GetUTFOrigin(), r=smaug