Make sure dt_get_lightroom_xmp is thread safe.

Remove static variable.
Check for iop versions in Lr import.

This is needed to avoid crash if some old and imcompatible iop
shared libraries are around.
Update some french translations.