PetScan::extract_affine(const llvm::APInt &): rename "dim" variable to "space"