main: Call pcmk_api_init() if libpacemaker is being used.
This is required to initialize various internal pacemaker XML structures
and schemas before they are used the first time. Without this, calling
into libpacemaker will result in tracebacks.