Floppy ioctl range clamping fixes