[4.8.1] Support OpenMP
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>