elflint: Do not raise an error when note type is unrecognized
check_note_data compares the type of a given ELF note to a list of known
types. If the type is not recognized then an "unknown note" error is
raised.
Unknown note types do not necessarily indicate a gABI/psABI compliance
issue so an error should not be raised for this reason alone.
Additionally some common note types are missing from the list of known
types (NT_FILE for example).
Fix this by removing the "unknown note" error from check_note_data.
This patch preserves existing type-specific format checks and adds a
check for the presence of the null terminator in the note name, if
applicable. If one of these checks fails, a "malformed note" or
"missing null terminator" error is raised.
Since there are currently no type-specific checks for any ET_CORE
notes, these checks are only performed when the given binary does not
have e_type ET_CORE.