pan/bi: Move bi_registers to common IR structures