The impact of imperfect measurements of weak values on state tomography