[Linaro-uefi] [PATCH edk2-platforms v3 14/36] Silicon/Hisilicon/I2C: Refactor I2C library