Change some more 0 literals into nullptr.

These changes hopefully cover most pointer assignments and comparisons to 0, but there could be more.