The effect of the centrifugal acceleration on period spacings of gravito-inertial modes in intermediate-mass stars