Danville man gets 5 years for possessing firearm as a felon