To detect unsafe usages of casting a pointer to another via copying
the bytes from one into the other, either via std::bit_cast or via
memcpy. This is currently not caught by any other means.
Fixes#106987
---------
Co-authored-by: Carlos Gálvez <carlos.galvez@zenseact.com>