Add $wgScriptsArePreMinified check for build to avoid minify call

* This saves about 500 ms on the php based build out on the first
request by avoiding calling php minify on stuff that is already
compressed by the build script.