block/compat_ioctl: fix range check in BLKGETSIZE