Tailoring Spin Relaxation in Thin Films by Tuning Extrinsic Relaxation Channels