chore: Add riscv/.editorconfig and pacify editorconfig-checker

Also tidy up the new RISC-V code to comply with our coding style,
and rearrange comments inside png.h to improve readability within
the configured editing limits.
3 files changed