Nuclear effects on the longitudinal structure function at small x