radeonsi: release NIR in the right place to fix crashes