Fix multiple occurrences of bad pack/unpack specifiers

These prevent Metasploit from working properly on big-endian architectures and a number of these have crept in over the years.