demmt: fix processing of ioctl messages on buffer boundary

broken by commit e07efbd3e235952342c7ddb4f6d1494657ea360d
"demmt: pass memory dump messages to ioctl handlers"
ioctl WIP
docs/nvrm/rnndb