[parform] Synchronize optimvalue_ and optimscheme_

These preprocessor variables were introduced for the optimization
in 59aca15.