Use a GlobalLockGuard in relocate()

Simply locking the single corresponding lock is not enough, since
GlobalLockGuard only looks at locks[0] and completely ignores locks[1].