pk: Move hoard index setup into a helper function
pk: Move hoard index setup into a helper function

- Move code to open the hoard cache index into a new function

cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr