vtk5: apply upstream patches

apply patches on release-5.10 branch in upstream git repo.