Fixing fatal error on Special:Uploads for mobile

Also moving userCanUpload() back to MobileContext, as my assumption
about it only being called from SkinMinerva was incorrect.

Bug: 68756
Change-Id: I332adc195ed3a7e3bd5970d86d2f2a76237fdeee