Fix loop bounds that didn't include enough ghost cells.

This bug was causing the test failures seen in https://github.com/clawpack/pyclaw/pull/398.