Updated the Cram EOF block detection to avoid falsely considering the
lack of an EOF block as an error when doing a sub-range query.

Also simplified the API, removing the cram_has_eof_block() function in
favour of using a tri-state cram_eof() return code.