fix Issue 11216 - Make synchronized statement `nothrow`

- require Object.Monitor lock and unlock functions to be nothrow

- change methods of all core.sync classes to nothrow