Reduce compilation times by forward-declaring DOMPromiseDeferred
<rdar://problem/104567742>
Pull request: https://github.com/WebKit/WebKit/pull/8984
Committed 259392@main (6211ce9e4d8d): <https://commits.webkit.org/259392@main> Reviewed commits have been landed. Closing PR #8984 and removing active labels.