[PATCH 5.4 100/111] block: recalculate segment count for multi-segment discards correctly