common: Fix a race condition removing stale lockfile.
* common/dotlock.c (read_lockfile): Return the file descriptor when R_FD is available. (dotlock_take_unix): Check the case the lockfile was already removed.
- GnuPG-bug-id: T5884
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>