avcodec/jpeglsdec: add cast to silence pointer type warning