[FREEPBX-8237] Fix interface parse regexp to make netmask optional

In the regexp parsing the output of /sbin/ip, don't require a CIDR netmask as some interfaces (tun) don't include it. Closes [FREEPBX-8237].