[mms] Catch and ignore errors from contacts backend when determining whether to show images in a message (Bug #12294).