Add missing QPainterPath includes
Quilt patch, because upstream hasn't merged https://github.com/4lex4/scantailor-advanced/pull/158 yet.
This fixes the build errors caused by changes in Qt 5.15. Salsa CI reports no further errors. Some warnings may require attention, but they are not critical and should be addressed upstream first.