fix leaving read locks on rpmdb (mga#9248) regression introduced in commit r7280 on Feb 5 2013: "(install_logger) unify with callback_uninst(), thus fixing counting for erasures"