jpeg: Fix another possible buffer overrun

Found via the clang libfuzzer
static void dstr_free(struct dstr *str)
{
    free(str->data);
}

static void dstr_free(struct dstr *str)
{
    free(str->data);
}
