www/webkit2-gtk{3,4}: fix build with Ruby 3.2
https://bugs.webkit.org/show_bug.cgi?id=246743
https://github.com/WebKit/WebKit/commit/b7ac5d0ccc7ca3ed6bf4f2d40fde60247ce87d3c
(upstream commit makes patch(1) sad so manually generated)
Approved by: mentors (implicit)