Remove side effect in assertion in ProcessGetData

A side-effect was introduced into an assertion in 7a0e84d. This commit
fixes that.
log used config file to debug.log on startup
[Qt] add BerkeleyDB version info to RPCConsole

- to match info function between debug.log and RPCConsole
Merge pull request #4289 from Diapolo/log_config_file

log used config file to debug.log on startup
Merge pull request #4287 from laanwj/2014_06_sideeffect

Remove side effect in assertion in ProcessGetData
Merge pull request #4291

fe6bff2 [Qt] add BerkeleyDB version info to RPCConsole (Philip Kaufmann)
Fix GUI build with `--disable-wallet`

fe6bff2 and 65f78a1 broke it. Minor build changes.