gh-74953: Fix PyThread_acquire_lock_timed() code recomputing the timeout (GH-93941)


Set timeout, don't create a local variable with the same name.
(cherry picked from commit f64557f4803528c53bb9a1d565e3cdf92e97152f)

Co-authored-by: Victor Stinner <vstinner@python.org>
1 file changed