[Runtime] Fix the crash due to the sanity check

Miss the sanity check of the ApplicaionData used in
ApplicationProtocolHandler::MaybeCreateJob().

BUG=XWALK-1677
Merge pull request #1944 from xingnan/1677

[Runtime] Fix the crash due to the sanity check