Systems and methods for controlling microstructure of additively manufactured components