Remove header generation, add define for warning suppression.

Thanks to @akva2 for original patch.
build system: synchronize with opm-core

i.e. remove the remaining artifacts of the OpenMP enablement which
turned out to be unnecessary.