net: bpf: correctly handle errors in sk_attach_filter()