mobi: Fix parsing garbage with no cover

We were never checking the retval of get_cover_img_num() so if
no covers were found, we'd try to read index-of-first-img minus 1.