[RF] Add checks for nullptr in NaNPacker tests to make clang-tidy happy.
[RF] Add checks for nullptr in NaNPacker tests to make clang-tidy happy.

root-mirror/root,olifre/root,olifre/root,root-mirror/root,root-mirror/root,olifre/root,olifre/root,root-mirror/root,olifre/root,root-mirror/root,olifre/root,root-mirror/root,root-mirror/root,olifre/root,olifre/root,olifre/root,root-mirror/root,root-mirror/root,olifre/root,root-mirror/root,olifre/root,root-mirror/root