[composer] ComposerLegend update all now only applies to referenced map's layers (in case they are locked) (fix #7177)
[composer] fixed composer legends inappropriately connected to the first composer map item on creation from XML