[#74765144]Alter SDWebImageCompat to check last 3 characters for '@2x' instead of last 8.

This is needed in order to present user images in retina mode.
[#74765144]Fix for "Use of GNU ?: conditional expression extension, omitting middle operand"