block: Implement blk_flush() using generated_co_wrapper