Configure should check same Berkeley DB header DB_File uses

patchperl changes the header used by DB_File, which then doesn't match what Configure uses for detection.   The mismatched detection will lead to compile errors when old Berkeley DB versions aren't available.

This changes the detection logic in Configure to use the same header file.