MFC r361703:
[PowerPC] Fix build-id note on powerpc64 kernel
Due to the ordering of the powerpc64 linker script, we were discarding
all notes before emitting .note.gnu.build-id. This had the effect of
generating an empty build id section and breaking the kern.build_id
sysctl added in r348611.
powerpc and powerpcspe are uneffected.
PR: 246430
Sponsored by: Tag1 Consulting, Inc.
(cherry picked from commit 30dc2aebd7e88d43d620bba765edd21fcd20f3be)