kernel: fix porting mistakes on the 3.6+ SIP NAT patch causing crashes