Revert "Do a better job at bounds checking"

This reverts commit b534f24d35e0bdeb28f91853402f1b10f1fc5a70.
Revert "Fix bug"

This reverts commit e1df7dd0d942d70c6c21de148e6bd80c6654bb93.
Revert "Use unsigned int rather than size_t"

This reverts commit 61985b7b1fd1e2d9cd2e343bf55f2c0e47fbddc8.
Revert "Silence compiler warnings with the clamunrar code"

This reverts commit ff909fb9e10d2f9fa494048c3767af2bdd74b2d8.