python: Explicitly add sqlite to cflags/ldflags

Fixes #15300 because sqlite is keg_only since a few days.