QDoc: Omit empty brief from IR::Document JSON output
The brief field is always emitted in JSON output, even when the
document has no brief description. This is inconsistent with other
optional fields that follow an omit-when-empty convention and forces
templates to guard against empty strings.
The brief field is now omitted when empty, matching the convention
used by since, deprecatedSince, and other optional metadata. Templates
already use default() guards for brief access, so this change is
safe for existing template consumers.
Task-number: QTBUG-142470
Change-Id: Ie3b8353b9dc4aba7f07bd6ac0bd2a6ba18bf4e72
Reviewed-by: Topi Reinio <topi.reinio@qt.io>