Fixed fatal error for invalid codes in Special:MyLanguage

* Fixes "Exception from line 339 of languages/Language.php: Language::isValidBuiltInCode must be passed a string, boolean given"

Change-Id: I546998fe89261f3012fa404578d5684c7ddf59a5
Merge "Fixed fatal error for invalid codes in Special:MyLanguage"