Deprecate openssl_local_overrides.h using autoconf. We keep supporting
openssl_local_overrides.h too for now, for legacy builds.

Also, disable bitcoin format unless required functions are present.

Closes #593, closes #595.