XWIKI-9286: Localization module stop searching for translation at the first bundle that contains the key for one of the parent locale of the passed locale
(cherry picked from commit a94ccfa73b91119f28cc8fa5e62ea059ba821fb8)