[PATCH 5.3 059/105] coresight: etm4x: Fix input validation for sysfs.