Use CHECK_THROWS macro when checking if a call throws and exception.
Fix OutOfMemoryTestsForOperatorNew for clang >= 3.2

clang optimized out the new char/char[10] calls, making the
calls never throw. This patch makes sure we expect side effects,
thereby not optimizing the calls out.