Ignore bool cast warning for MSVC and C++

We have been ignoring this warning for C++ in master for a while.
No need for it for the GPU code either.

Change-Id: Ib76541d344dc520d5a14da241b29d92362311980
Merge "Ignore bool cast warning for MSVC and C++" into release-4-6