Add .editorconfig for C and CMake files