Libmonkey: Fix configuration free crash in library after recent upstream changes

Signed-off-by: kaspersky <gg.kaspersky@gmail.com>