Bugfix port number endianness.  Bug 9530 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9530)

Taken from part of r52609 enhancement.

svn path=/trunk-1.10/; revision=54217
Something went wrong with the backport of r53608 + r53611.  Fix it.

svn path=/trunk-1.10/; revision=54225
Remove g_memmove

Glib no longer offers this macro so we have to fallback to C90 memmove.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>