Some 32-bit fixes.

Fixed a couple compiler warnings with %ld vs size_t in printf.

Fixed some overly large seeds to srand48.

Changed some of the test SAM files to no longer use values greater
than 2^31 (the limit required by the SAM specification).