Comparison of the pinning energy in Fe(Se1−xTex) compound between single crystals and thin films