compiler: extract package hashing logic to separate file

There are no functional changes in this commit.
a4352982b3Andrew Kelley committed on 10/3/2023, 12:02:24 AMparenta5144d1
3 files changedLine totals unavailable