plugins/motor_control.c: Add save/restore implementation for this plugin

Signed-off-by: Dan Nechita <dan.nechita@analog.com>