Fix TCP flags endianness

Shift TCP flags according to endianness.

Thanks to Genevieve Bastien for this patch

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>