[PATCH 4.14 130/267] coresight: etm4x: Fix input validation for sysfs.