lima/gpir: Optimize conditional break/continue