demmt: handle new version of ioctl messages (v1 + ret value)