KNL-1279 fix for ConcurrentModificationException in BaseSitePage with memory.use.legacy=false

git-svn-id: https://source.sakaiproject.org/svn/kernel/trunk@310788 66ffb92e-73f9-0310-93c1-f5514f145a0a