[LIBS] Made icmp_echo related APIs to be netstack interface specific

Signed-off-by: Anup Patel <anup@brainfault.org>