Livestatus: Add compat_log_path config option for historical tables.

Fixes #5017