A possible thermodynamic origin of the spacetime minimum length