kbuild: fix detection of CONFIG_FRAME_WARN=0