occtools: fix build errors with OpenCascade v6.6.0