A n_type==NT_GNU_PROPERTY_TYPE_0 note encodes a program property.
If pr_datasize is invalid, LLD may crash
(https://github.com/ClangBuiltLinux/linux/issues/1141)
This patch adds the error checking, supports big-endian, and some tests
for invalid n_descsz.
Will this work if the Host is little endian and the data in big-endian format?