Title::makeTitleSafe can return null

Change to stop fatals on wikimedia cluster, might warrant further
investigation later

Bug: 58934
Change-Id: I11294e52854f2d992acee858d906e8654730495c
(cherry picked from commit 49913dd163419d9b6ace59ff7c3305533e8a18a5)