Fixes in pread()

The bug occurs when pread() doesn't return 0 when asked to read an
offset beyond its buffer.

This behavior is explicitly documented at:
http://pubs.opengroup.org/onlinepubs/000095399/functions/read.html

> If the starting position is at or after the end-of-file, 0
> shall be returned
Touched up formatting.
No functional change.
Merge pull request #1412 from michaeljbishop/pread-fix

Fixes in pread()