Use static buffer for fake JPEG EOI marker as src->buf might not be allocated

Discovered whilst investigating lovell/sharp#6