Update gcd.cpp

GCD cannot be a negative number.