Add smart pointers to CookieStore and CookieJar
<rdar://problem/128231784>
Pull request: https://github.com/WebKit/WebKit/pull/28683
Committed 279064@main (1963873fe298): <https://commits.webkit.org/279064@main> Reviewed commits have been landed. Closing PR #28683 and removing active labels.