BaseTools/BPDG: Fix the bug to get the PCD Size