Remove unneccesarily-specific downcast in getPointerNullState. NFC

(After relanding https://reviews.llvm.org/D153485, these will no longer always
be AtomicBoolValues, and it doesn't matter)

PiperOrigin-RevId: 567613018
Change-Id: Iee4c69008aabfa842f33d144d64d38c4508e80f3
diff --git a/nullability/pointer_nullability.cc b/nullability/pointer_nullability.cc
index 495b72e..54daf2b 100644
--- a/nullability/pointer_nullability.cc
+++ b/nullability/pointer_nullability.cc
@@ -47,9 +47,8 @@
 }
 
 PointerNullState getPointerNullState(const PointerValue &PointerVal) {
-  auto &FromNullable =
-      *cast<AtomicBoolValue>(PointerVal.getProperty(kFromNullable));
-  auto &Null = *cast<AtomicBoolValue>(PointerVal.getProperty(kNull));
+  auto &FromNullable = *cast<BoolValue>(PointerVal.getProperty(kFromNullable));
+  auto &Null = *cast<BoolValue>(PointerVal.getProperty(kNull));
   return {FromNullable.formula(), Null.formula()};
 }