Fix readHardwareBuffer function to correctly handle offset

Test: compiles
Change-Id: I42d417d31e38b24ba4e4ee550b0c22adbb97c212
1 file changed