[423182] ConcurrentModificationException in AnnotationUtiltity

Add synchronized blocks when accessing the list of annotation files.

Bug: 423182
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>