Revert "[3.0] Fix the buffer overflow issue in nanosvg"