Fix interfaces methods usage.

In some places was used direct methods.

This one was intended, `itemdb_readdb_libconfig_sub` is a plugin variable that stores the original value for `itemdb->readdb_libconfig_sub`, before replacing it with a pointer to the `db2sql` function. This change would cause an infinite recursion