CGN: fix outside port calculation and set buffer error (VPP-623)