Avoid a segfault on getblock if it can't read a block from disk.

Rebased-From: 954d2e7
Merge pull request #681 from rnicoll/1.8.1-dev-getblock-segfault

"getblock" RPC call now handles load failure