[PageFormCompleter] Try to be extra cautious with QWebFrames

This is an attempt to fix crash when calling QWebFrame::childFrames
in PageFormCompleter::getAllElementsFromPage

[ci skip]