Pep Guardiola has said he will quit as Manchester City manager unless he is given a smaller squad next season.