Fix missing synchronized modifier for SynchronizedSet.toArray(T[])

Signed-off-by: Ross Allan <rallanpcl@gmail.com>