BUG: rolling/expanding_* treatment of center

Closes https://github.com/pydata/pandas/issues/7925.
I'm not sure if it can be negative (``window`` would have to be negative, which should already have triggered an exception), but it can be ==0.