PCI: altera: Fix loop in tlp_read_packet()