rpm: fix audit warning.

Depend on berkeley-db instead of db.
(cherry picked from commit 66af80d3d11a929c8392ea1546784d626894a45b)