added requisite release function to sysx with ktype

The sysx (sysfs) examples which have a ktype have had the
required release function added.