Fix usage of 0 for null pointer constants
Summary: Depends on D21972
Reviewers: lukas, jgrulich, ngraham
Reviewed By: ngraham
Differential Revision: https://phabricator.kde.org/D21973