[#2370] make sure catalog_schema_version is initialized to 1

When upgrading from 4.0.0, the catalog_schema_version had not yet
been introduced.  This will safely initialize the upgrade sequence
to assume the catalog_schema_version is 1.