[B.A.T.M.A.N.] [PATCHv2 next] batman-adv: fix NULL pointer dereferences