plugin/core.c: Eliminate compile warning when using '--enable-simulator'

Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>