net: Fix ns_capable check in sock_diag_put_filterinfo