[PATCH 4.9 076/199] coresight: etm4x: Fix input validation for sysfs.