Import r15538 from edk2

Change PciIo::GetBarAttributes() to return unsupported for a unsupported
bar even it's below 6 to follow the UEFI Spec.