loaders: Add some metadata for JPG and PNM.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
Exif: Fix segfault on loading empty string.

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