CookieJar: Clear filter function in destructor
Fixes possible crash when cookieFilter is called after CookieJar was destroyed.