[external] PNG_NO_WRITE_SUPPORTED issue

Move PNG_NO_WRITE_SUPPORTED outside of RT_USING_NEWLIB. #197