Fix error handling at init_system_db_connection() to not use ereport(ERROR).

Because do_child() calls init_system_db_connection() before initializing
PG_exception_stack, init_system_db_connection() can't use ereport(ERROR).
A workaround this commit adds is calling child_exit(1) as error handling
at pool_init_cp() does.