Use commonplace polyfill for window.location.origin (bug 1094175)

See also https://github.com/mozilla/commonplace/compare/v0.6.1...v0.6.43