Raise ThreadError if #synchronize has no block.

No real advantage when we return ArgumentError here; better to stick
closer to standard library's Mutex API.