Port to block-based API

This tracks the API change made to libgccjit
in a0b0a25243dd4c3e2967ec76449f901cc6c647de