Squashed 'libscsicmd/' content from commit 2200662

git-subtree-dir: libscsicmd
git-subtree-split: 2200662a7a224ee08584a21e710c07cb4337da85
Merge commit 'bb064287f1605b4a896cc7d6262062555f357604' as 'libscsicmd'
Compile with optimization to catch more issues
Add READ CAP and READ/WRITE.

READ CAPACITY (10)
READ CAPACITY (16)
READ (10)
WRITE (10)
Fix buffer overflow
Add a simple version for READ CAPACITY 16
Use SCSI command to read the disk capacity and sector size