s3: Fix timeout calculation if g_lock_lock is given a timeout < 60s