Add current AP power type check in reg_get_num_reg_rules and reg_append_6g_reg_rules_in_pdev to avoid the array out of bound access of pdev_priv_obj->num_of_6g_ap_reg_rules. Change-Id: I769615788add14bd5892edf966981ba729073f17 CRs-Fixed: 3513759