use 0 instead of NULL for null pointer constants

and thereby remove otherwise-unnecessary inclusion of stddef.h