httrack: upstream patch to fix build pre-10.7

Fixes #31789.