Use accessor function for accessing OutputPage::$mCategoryLinks as it's a protected property in MW 1.24/master.

Change-Id: Ic7a0d873ea8f636d113297f4031491acd8890a36