Workaround problem with bulk::reduce and counting_iterator<char>