Create a single instance of reorder_32 rather than replicating it in multiple
places. Also, instead of "unsigned long" it is necessary to use "uint32_t"
when dealing with WAV headers. This is because 'unsigned long' is 8 bytes
(not 4) on X86-64 systems (AMD64, Opteron, etc).