Fixes a bug retrieving the ParticleFlags of ParticleReadData, also fixes the wrong typing on the FlagBuffer of ParticleCreationData