[Toolkit.Compiler] Add SkipOptimization and PreferFlowControl when compiling shaders in debug mode