listimage: remove unused vars.

... left over from previous iterations, not sure why I didn't
get unused vars warnings.

Sorry for the noise.