Throw warning when converting invalid string to GMP