Check_MK upgrade to version 2.0.0p16 failed

A downgrade is not possible. You need to restore a backup in that case.

However, the Opsgenie integration is built-in and works out of the box in Checkmk 2.0.
You might want to check your local structure for any custom files, which overwrite the built-in integration.