Inclusion of inversion symmetry in centroid molecular dynamics