[XFS] use NULL for pointer initialisation instead of zero-cast-to-ptr