Merge pull request #1004 from mattrpav/AMQ-9254

[AMQ-9254] DataFile readRecord fallback to OS file.length in rare edge case

Rework validation that the record read won't exceed the length of the file