Cascaded Amplification and Manipulation of Terahertz Emission by Flexible Spintronic Heterostructures