com32/chain: (utility) use enum for BPB types