tdm: bcmdhd: Do not deref null ptr in p2p code.

Change-Id: Ifd71e0e4cdcefdf42935954e3857f96fdbffe3d9