OnEnable INI MH for opcache causing strangeness

making sure that checks are only carried out if opcache is currently disabled makes sense generally and fixes a specific error in pthreads ... any chance this can be merged ?