skinelchi: Fix compilation with newer imagemagick versions