Upper bounds on maximum lengths of Singleton-optimal locally repairable codes