[PATCH v1 4/4] coresight: cti-sysfs: Re-use same functions for similar sysfs register accessors