s3:locking: Fix integer overflow check in posix_lock_in_range()