net/sched: cls_api: add missing validation of netlink attributes