renderer: make sure we know GetProcessorSize directly after configure

This fixes VDA running with too many buffers
core: fixed race in CSharedSection

A shared lock could sneak in while waiting for exclusive lock