Fix calculation of where to copy overlay data.

This fixes test/SystemCalls/overlays.xc