block/dirty-bitmap: improve _next_dirty_area API