fix atoms.center() for empty atoms object (does nothing).
This might smoothen scripting, e.g., if some slice resulted in an empty atoms object (there was no adsorbate or what do I know). Note that atoms.center(vacuum=2) will yield a cell of (4, 4, 4), as if there were an atom.