util/fossilize_db: Fix double free in error handling.
If the file ptr is not NULL then foz_destroy will also try to destroy it.
Fixes: eca6bb95 ("util/fossilize_db: add basic fossilize db util to read/write shader caches")
If the file ptr is not NULL then foz_destroy will also try to destroy it.
Fixes: eca6bb95 ("util/fossilize_db: add basic fossilize db util to read/write shader caches")