Use LLVM IR-friendly definition of __weak_reference