xalloc-die-tests: avoid printing null pointer