fix the PCI byte lane enable generation code, based on a patch by Chris Dearman