Mms: Fix crash when delete more 1000 messages.

Mms application query locked messages and read reports
from database with more than 1000 "OR thread_id=num"
parameters before delete messages. It caused sqlite3 throw
"Expression tree is too large (maximum depth 1000)" error.

Change all "OR thread_id=num" parameters
to "thread_id in (num1, num2...)".

Change-Id: I1134aa7662912b15726265127fb6f1f05a5388f1
CRs-Fixed: 748771