[PATCH 5.15 104/189] block: fix offset/size check in bio_trim()