Make CHD support optional (WITH_CHD), also remove static for a couple
of functions which are used elsewhere in FS-UAE.
fixed in logic bug in a logging statement (missing parentheses)
removed c[12] from logging statement (one c[..] too many).
Fixed an invalid write in disk.cpp:tobin

When the loop is done, i == -1 and so buf[-1] is set 0 (I guess the loop
at one point counted upwards instead). Static memory is initialized
to zero anyway so left out buf[8] = 0;.
Merge pull request #5 from FrodeSolheim/master

Cleanup in ar.cpp - fixes compilation warnings in clang++ and g++
Merge pull request #6 from FrodeSolheim/with-chd

Make CHD support optional (WITH_CHD) + a few other changes in blkdev_cdimage/hardfile
Merge pull request #7 from FrodeSolheim/bug-fixes

Bug fixes
ncr scsi
2710b5
2710b6