netlink: Add macros for iterating through attributes.