Fix dereferencing xfr before NULL check in dbg_xfr

Change-Id: I2c9c82743ae445667902f779dc07495e534518d1