Fix memory corruption during TCP arg parsing
Fix memory corruption during TCP arg parsing

GLib's option parser only understands integers. By passing a placeholder
to a int16, the next 16 bits in the struct were being corrupted since a 32
bit value is written. This resulted in the num_ports value beign overwritten.
To avoid this, platform's native int are used instead.

RidgeRun/gstd-1.x,RidgeRun/gstd-1.x,RidgeRun/gstd-1.x,RidgeRun/gstd-1.x