Call WKPageTerminate when closing tab

* Bugfix: WKPageTerminate was always crashing after Nix merge xebddb6a20c6e456556560281c7a4279d48f2cacc
* Probably related with this recent change in termination of WebProcess:
  https://bugs.webkit.org/show_bug.cgi?id=110743

Reviewed by: Hugo Lima