Run Message::escaped() on $thisMobileLogoURL only if it's a Message
Do not attempt to run Message::escaped() on $thisMobileLogoURL if
it is a string specified by $wgLogos rather than a Message.
Bug: T281485
Change-Id: I9fccba70a89d7097a5c88370d77f862b2790d3fd