[amg] replace manual memory management with shared_ptr in FastAMG
When cleaning up the memory management I missed the FastAMG. This MR removes manual pointer management from FastAMG.
When cleaning up the memory management I missed the FastAMG. This MR removes manual pointer management from FastAMG.