Add missing return data from getAttackApGain for Compute AP stats plugin

Fixes #478