En masse NULL -> nullptr replace

Removed this from #1555 to make that PR easier to review.