block: add bio_truncate to fix guard_bio_eod