Add dptr to KReportScriptHandler
Test Plan: Ran kreportexample and Kexi with a report containing scripts
Reviewers: staniek
Reviewed By: staniek
Tags: KReport
Differential Revision: https://phabricator.kde.org/D3741