fix [#35518] UV Mapping crashes the Blender with specific image file

2 bugs here
- missing NULL check in IMB_colormanagement_display_settings_from_ctx()
- deadlock in draw_image_paint_helpers()

Simple solution is to not draw paint helpers for render/viewer images.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57043 954f8c5b-7b00-dc11-b283-0030488c597c