nat_traversal: proper size for realloc

- reported by Venky

(cherry picked from commit d9c34bec5ea0570f66df23e7e7d6f79f4721f04e)
(cherry picked from commit 26fd1d2fd24a1f4ee160ba24e2670b8e7a4e8176)