Revert "gpg: Release lock after close also in the compress code path."
This reverts commit 22f9c4a3b3c1474cbcb7ef78821245f78c52a826.
Which was entirely bogus and results in a segv because we first
release the handle and then try to unlock using that very handle.