XWIKI-8901: Use the new localization module for translating macro descriptors
* Adapt the code because ContextualLocalizationManager is not available on the stable-4.5.x branch.