ddns-scripts: fix from ticket #17998 wrongly detect ipv4 address start with 10x.x.x.x

Fixes from ticket #17998: dynamic_dns_functions.sh:DDNS script wrongly detect ipv4 address start with 10x.x.x.x
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>