Use [[cms::thread_safe]] and [[cms::thread_guard()]] attributes to filter out false positives

This is dependent on clang 3.3 having the custom attribute parsing patch.