Additive manufacturing-driven mold design for castings