Marks any attributes with FWUPD_SECURITY_ATTR_FLAG_OBSOLETED
that have been
defined as obsoleted by other attributes.
It is only required to call this function once, and should be done when all
attributes have been added. This will also sort the attrs.