jpegdec: actually search for and parse RSTn