ipp: added LUT optimization
Merge pull request #2653 from alalek:ipp_lut