[PATCH 5.10 105/106] macsec: add missing attribute validation for offload