loaders: JPG: Fix signature matching.

The first marker in JPEG may not be the 0xff 0xc0 so this commit limits
signature lenght to three bytes.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>