Fix JFXX header corruption in JPEG filter

Filter was failing to copy the extensionCode byte to the output.