The proportion of criminals caught with a knife in Greater Manchester who were given a suspended prison sentence hit a record high last year, new figures show.