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

Discovered whilst investigating lovell/sharp#6
Merge pull request #107 from lovell/master

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