Consideration of Elastic Tool Deformation in Numerical Simulation of Hydroforming with Granular Material Used as a Medium