Add --encoding option to flamegraph.pl

The SVG output did not take an encoding attribute which could
make the displayer fail to load the XML file when the input
backtrace data contains special byte sequences.