udp: fix udp_local length errors accounting