ofproto-dpif: Avoid dereferencing possibly null or wild pointer.