Suspect in Flint attack failed to buy gun in MI