Add support for inverted mask on scatter/gather transfers