Bug 1082073 - [Messages] Use promises when resizing images r=schung

Do we need to pass canvas here?