Mu-plugins: Fix api version url re-write to handle cross site links

Currently all cross site protocol relative links fail on the mobile and ui api sites when on a previous version like ui 1.9 due to url re-writing for versions. This makes sure we don't re-write links except for on the current site.