inkscape: (HEAD) fix compilation with clang

Fixes #23277.
Fixes #27612.
Closes #24137.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>