[IPv6]: Fix NULL pointer dereference in ip6_flush_pending_frames