Measurement of the effective Bs0→K+K− lifetime