sha1_file.c: don't ignore an error condition in sha1_loose_object_info()