Fix NPE when GCM notification has no message key

If the notification has no message key, the app will crash because of
NPE when trying to get the length.