Add a check in OnImportCheat to avoid crashing when can not get the title from cheat.db
Merge pull request #3701 from shenweip/master

Add a check in OnImportCheat to avoid crashing when can not get the title from cheat.db