Fix abs() failure with small datatypes on cuda 5.5.