fixes for GINI and GIF images involving GEMLIB im for 8-bit products