Correct ortho_v2_v2 arg size
Fix T40373: Adding movie creates overlapping audio strips
PIL_time is no longer used in BLI_random.

The last remnant of using the system time for random seed was removed
in rBafb4b65, now seeds are always explicit for BLI_random.
Revert fix for T38594, caused T40186 (just accept limitation for now)
Fix T40379: world MIS causing too much CUDA memory usage.

The kernel for baking the world texture was the same as the one used for
baking. Now that's separate which allows the kernel to reserve much less
memory.
Cycles CUDA: use fewer registers for sm_50 cards for better performance.
fix T40375 Glossy shader bakes different than render

Comments from Brecht Van Lommel:
"""
Currently the viewing direction for each pixel is set to the normal, so
at every pixel glossy is evaluated as if you're looking straight at it.
Blender Internal works the same.
"""

This patch makes baking glossy as viewed from the camera.

Reviewers: brecht

CC: zanqdo

Differential Revision: https://developer.blender.org/D555