Adjust the gen_mod:get_opt() call to work with current ejabberd versions.
Current ejabberd versions support two different logging frameworks that require different build options. There's currently no easy way to deal with this for external modules, so let's omit the ?DEBUG() calls for the moment.