If a `barostat` is added to `SystemGenerator`, a `MonteCarloBarostat` will be added to all systems, even if they are not periodic. We should change [this section](https://github.com/openmm/openmmforcefields/blob/main/openmmforcefields/generators/system_generators.py#L253) to check that the `System` object is periodic via `system.usesPeriodicBoundaryConditions()`.