imagex.c: Remove unnecessary checks of swm_glob