XWIKI-11454: MergeUtils#mergeList forget to update modified state
* use Java6 compatible API (until 5.4.x branch is abandonned)

(cherry picked from commit a486d16a778abe0858948e9d1368ded8e7489516)