methods/cdrom.cc: move the scan into the loop that waits for a CD