GSIZE_TO_LE 64/32

sometimes the gsize type could be 64 bit integer
so 64 swap operation should be used instead