make sure wikialogger is defined before calling wikialogger->debug in wikia::log (can be done before commonextensions is hit)

(cherry picked from commit 69e2b3a1121bf97c19d12a5d2fc7a37849251d19)