jpegdec: give handle_rstn() a return code that indicates if restart did happen