ipv4: Fix incorrect error code when adding an unreachable route