Updates the NULL defines used in DR to be pointer-sized to avoid potential issues such as in PR #3920.