Use ADVANCED instead of ADVANCED_OPTIMIZATIONS

ADVANCED_OPTIMIZATIONS is deprecated (but still accepted)
Merge pull request #2834 from fredj/compiler_mode_name_doc

Use ADVANCED instead of ADVANCED_OPTIMIZATIONS