[clang-tidy][NFC] Remove unnecessary nullptr check on cast subexpr (#85473)

The value of SubExpr is not null since getSubExpr would assert in that
case. Remove the nullptr check. This avoids confusion since SubExpr is
used without check later in the function.

GitOrigin-RevId: 57914f647e2551ea19758038345bb8bc2c4762c1
1 file changed