bfd-provider: Correct memory leaks in handleSymbols, parse

The synthetic symbols must be freed separately, and the section
symbols should only be iterated once!