handle skipping of image tests inside ImageComparison

- fixes http://tests.obspy.org/10359/#1
- removes code duplication
fix segy benchmark image test