Fix redundant check with OMP-specific code in PKP lib