bpo-33916: Fix bz2 and lzma init when called twice (GH-7843)


bz2, lzma: When Decompressor.__init__() is called twice, free the old
lock to not leak memory.
(cherry picked from commit 9b7cf757213cf4d7ae1d436d86ad53f5ba362d55)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
3 files changed