XWIKI-11386: The icon themes from the main wiki is used on subwikis too.

(cherry picked from commit 8ad3c645c024e742ff63ef9a1590e99a73382906)