Maaaybe fix a race creating ImapUids.

Summary: We weren't locking some instances of creating new ImapUid entries.

Test Plan: Try to reproduce the crash...

Reviewers: emfree

Reviewed By: emfree

Differential Revision: https://review.inboxapp.com/D138