Champaign man gets prison time for gun possession