SpecialRecentChanges: Use $wgRecentChangesFlags in makeLegend()

Follow-up to Iabf4873f.

Change-Id: I3741723c59575d265353108ebe189f5b0aaaf141
Merge "SpecialRecentChanges: Use $wgRecentChangesFlags in makeLegend()"