Use same getUserPermissionsErrors check in ApiQueryAbuseLog as SpecialAbuseLog
Due to I6f33a2ea the title we get in the API will trigger that ns-specialprotected error now.
Bug: T96277
Change-Id: Ife9b715334b4f4b5bcbf066031821c304bc2ce05
(cherry picked from commit 9da34b9b091522761d8ba64f2de58bf3d004639f)