block: add a bdev_discard_granularity helper