Fix const-correctness in KisPaintInformation
Differential Revision: https://phabricator.kde.org/D6564