qtif: fix fread() error check

fread() doesn't return -1 on error, so don't check for < 0.

https://bugzilla.gnome.org/show_bug.cgi?id=721371