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