[PATCH 4.19 28/89] can: add missing attribute validation for termination