Patches for Berkeley DB version 3.2.9

Fix a bug where running recovery on a database environment containing only logs from a previous release of Berkeley DB, in which log.0000000001 doesn't exist, could fail with the following error message:

log_get: log.0000000001: No such file or directory
First log record not found