test/media: remove libjpeg dependency