Fix typo in byte conversion & writing in NAT-PMP

This fixes https://github.com/miniupnp/miniupnp/issues/89.

Signed-off-by: Steven Barth <cyrus@openwrt.org>
Merge pull request #90 from sbyx/patch-1

Fix typo in byte conversion & writing in NAT-PMP