sysdev: Fix type of sysdev class attribute in memory driver