Replaced SAFE_BLOCK_INVOKE macro from an unrelated header with an explicit test.