[stats] Ensure that struct has the same size in 32 and 64 bits