Add _TRUNCATE define on zbeacon.c for some mingw compilers

In some mingw compilers, the '_TRUNCATE' (used in s_get_interface function) is not defined and, thus it generates a compiler error.