Fix global name to $wgMessagesDirs

Change-Id: Id869bcb1e803f905323bad40d6aa24771bef77b1