Fixed GPU bitwize operations

Incorrect types for template instantiation.