Correct the information shown for AP Gain on friendly portal

When a portal is in the same faction as the player, the AP gain shown
is incorrect, since you can't destroy the resonators/links/fields.
This change determines the value for deploy and upgrade of the
resonators instead of the destroy and rebuild values.