IPv6: fix IPV6_RECVERR handling of locally-generated errors