[PATCH 5.15 117/123] macsec: add missing attribute validation for offload