Thermal fluctuations and flux-tunable barrier in proximity Josephson junctions