Marion, IL man sentenced to prison on gun charges