platform/x86: intel_pmc_core: fix bound check in pmc_core_mphy_pg_show()

Check bounds before accessing map[] array.

Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
1 file changed