plugins/motor_control.c: Convert to use new libini2 code

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