Fix validity error caused by
r66068
The code to output <meta charset=UTF-8> in HTML5 mode was moved above
the code to output <head>, so you got <meta> before <head>. Reported by
Roan Kattouw on IRC. Only affected $wgWellFormedXml = true (the
default), because non-well-formed mode just omits <head> entirely. :)