Musharraf 'to quit as army chief'