net: ip6_gre: fix possible NULL pointer dereference in ip6erspan_set_version