BAC-854: use $wgImagesDomainSharding in wfReplaceImageServer