Spin-glass behavior in U2PtSi3