cuda.c: extract out ppcg_start_block and ppcg_end_block