HAL -improve readability of the invert code

using '!' is more clear of intention then '^ !'
No intended behavior changes

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>