[RILMODEM] fix same gateway for ipv4 and ipv6 issue

Signed-off-by: Jarko Poutiainen <Jarko.Poutiainen@oss.tieto.com>