[warnings][caffe2] Fix broken asserts (never trigger) (#72014)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/72014
`assert("string")` evaluates as `assert(true)` and thus never fires (oops!)
`assert(false && "string")` is the prescribed and supported way clang supports asserting "never" so that a string can be captured
Test Plan: ci pass
Differential Revision: D33824206
fbshipit-source-id: 223443f7ebecd78e1732c13ebb4ae416c0a0b11a
(cherry picked from commit 8e3721d0dc6adb92a9baed96552959f71e27cca4)