MDL-27120 Add global cache to backup_xml_transformer::register_link_encoders()