Implement method abs() for LongTensor and IntTensor