Rework elfobj_grok_gnu_source_id to make parsing more secure.