tcp: Discard non-error cmd after PRC_IS_REDIRECT(cmd) test

Original code actually ignores all ICMP redirects.
tcp: Minor tcp_ctlinput cleanup

- Remove unnecessary crit section
- Const-fy
udp: Minor udp_ctlinput cleanup