Measurement of overlay offset in semiconductor processing