Influence of finite-size effects on the Curie temperature of L10FePt