[EBookBackendGoogle] Guard private 'groups' members with a lock

The 'groups' related private member scan be read/write from multiple
threads simultaneously, thus guard them with a lock. Maybe it is
related to bug #725045, maybe not.