Remove redundant uses of NULL.