Revert "[extract_symbols.py] Adjust how the output of nm is interpreted"
This commit was intended to fix some failures on AIX, but introduced some new failures instead. Commit e5d91467 fixed the original failures. See D142989.
This reverts commit 78f13ea0.