Fix GeneralPathRegionOfInterest::nextRaster()

This method was not handling the degenerate case of an empty path whose
extents are (0,0). Now iterating such a path will not blow up.