elf-parser: Don't convert needlessly between std::string and const char *

Apparently fairly major performance improvements from this...