Not an expert on AR platform but I would remove the barrel and have it threaded on a lathe. Its possible to thread it by hand die but I would be real careful not to get it crooked due to the possibltility of bullet strikes on the muzzle device.
If I'm correct, I believe the bayo lug is on the front sight block which would come off with removing a couple of pins and taping it forward off the barrel.