Engine fixes:
- asserts rather than lock hacks in RsCoreImplGL.
- RsPrimitiveGL now decrements it's update lock.