Properly declare apr_dbd_mutex_lock/unlock when no threading available