[bal bios] Fix build for amd64 arch.
[bal bios] Make CDROM driver use scratch buffer.