memcg: fix calculation of active_ratio