fdc: move floppy geometry guessing to block.c