Replace $wgSpecialPageGroups with SpecialPage::getGroupName()

Deprecated in 1.21 and the extension is marked as compatible with 1.21+.

Change-Id: I448c0630f39e84cc56ba6387eac99917c56de3ce