test_diskread(): detect end of the disk
Detect the end of the disk condition. This may happpen when
disk image is truncated and the reads are addressing blocks past
image end.
Differential Revision: https://reviews.freebsd.org/D35432
(cherry picked from commit 942e52f776e6bbe016a3e920c96a1cd4dbddf7e3)