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.