Use NULL from cstddef

This fixes build when GIT_REV is not defined.