#review-18610
Fixed a bug with check_journalnum where it was being called to check the offline journal
number, but the function was hard coded to JOURNALNUM.
Implemented a function to compare the journal numbers of P4ROOT and OFFLINE_DB before
switching the db files as an extra layer of protection to avoid data loss.