Fix possible crash during delivery delay

This is reproducible in conversations with many messages
(e.g. 7800 messages on SGS3).

Change-Id: I26a7b989c9d27da34481f20f358a9e09bb4a2ef6
Automatic translation import

Change-Id: I3d33a50b6ec23a46367419d4491374b02d22393d
Merge branch 'cm-11.0' of https://www.github.com/CyanogenMod/android_packages_apps_Mms into HEAD