CheckBool::checkAssignBoolToPointer: Refactor to use AST.