Fix transparent canvas on older Qt (Qt 5.9.7)
This version of Qt is still used in distribution packages of Krita.
BUG:408225