Supersymmetry, finite temperature and gravitino production in the early universe