openmp for X-Trans v0.1

Hello,
Please find here my OpenMP patch for X-Trans v0.1.
Still work in progress, but I get a 3 sec improvement for an 11 sec processing on my i7 desktop.
Regards,
Yannick