It even predates Citizens United, 1 U.S. Code § 1 (introduced by The Dictionary Act in 1871) defines Corporations as people.
It goes back to 1886 [1]. Ditching corporate personhood just makes the law convoluted for no gain. (Oh, you forgot to say corporations in your murder or fraud statute? Oh no!)