fix [#37067] Bone Crash

Holding Ctrl+RMB is supposed to select objects, while in editmode,
however it would end up calling editmode selection as well as pose selection while an armature was in editmode (which caused the crash).

Add the ability for view3d_opengl_select() to skip editmode selection.


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