Tidied up encoder config for JPEG encoder
Tidied up encoder config for JPEG encoder

Same changes as for the video encoder

waveform80/picamera,tfroehlich82/picamera,ListFranz/picamera,rocky1001/picamera