Longview man pleads guilty to stolen firearm