OProtect gcm_client_add_device() with a mutex to try and fix a libsane-related segfault