Fix #1031: Rename inliningMode to optimizerMode

Do we have to rename the param-names as well?