Clone of git://git.netsurf-browser.org/libdom.git to fix compiler warnings on OSX/iOS