s3-smbd: Don't close stdout if we want to log to stdout.