rpm: fix audit warning.

Depend on berkeley-db instead of db.

Closes #19730.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Fix --build-bottle CFLAGS.

The CFLAGS were previously not generic enough.

References #18944.
References #19179.