New option optimisation_flags pref for cpp_standalone and moved
openmp_threads pref to devices

(cherry picked from commit a1ebd29db509b23531c2a7c7439b00e9e74ea78e)