[PATCH 6.18 289/614] PCI: Prevent resource tree corruption when BAR resize fails