minor fixup for gutils/gimagereadras.c, and hush a warning

minor fixup for gutils/gimagereadras.c, and hush a warning