Effect of residual stresses on the onset of yielding in a Zr-based metallic glass