Simplified implementation of ProtocolContainsSelector()
Fixed possible crash due to ARC over-optimization
While compiling for the x86 architecture, LLVM 3.1 ARC implicitly
inserts block_copy invocation on explicit typecasting of a block to id,
which may result to EXC_BAD_ACCESS in this particular section of code.
Indentation: tabs to spaces