Use an array of locks in `drainRoot`.

Although it will only ever contain one lock, use an array of locks to
hold the root page once it is locked.

See #279.