fix ASSERT in _get_block_timestamp.

If the block we're looking up in not in hash_blk, it may be in hash_orphans.