Fixed one more segfault.

 * Added check if ap_dbd_acquire is not null. It happens when mod_dbd
   is not loaded.