Revert "Revert "s3-smbd: Don't segfault if user specified ports out for range.""