Sample-size dependence of the superconducting transition of ribbon-shaped Pb nanocrystals studied by scanning tunneling spectroscopy