Ninja: Don't add custom command outputs to phony rule for CMake inputs
The ninja generator adds a phony build rule for all dependencies of the generator. If any of those files is generated by a custom command ninja prints an error about multiple rules for one output. This removes any custom command outputs from the outputs of the phony rule. #16910