Bug 731384 - Truncated abr files causing Gimp to not load/crash

Add some feof() checks in the ABR brush loaders and error out on
truncated files. This is by far not as good as in master, but at least
should prevent the crashes on lots of truncated files.