amidi-plug: Fix cppcheck warnings