Fix for unnecessary OpenMP warnings in misc/commandline.py

Printed warning regarding use of the -g flag before OpenMP settings
(openmp_threads, openmp_min_threads, openmp_max_threads) was not being
generated correctly.