Warn if FEATURES flagging is used in non-canary, debug builds. Fixes #9302
Merge pull request #9309 from jayphelps/warn-features-non-canary

Warn if FEATURES flagging is used in non-canary, debug build. Fixes #9302