Fix GMP serialization

Also fix same issue in PDO.
avoid repeated strlen usage
remove useless check
zero sensitive data more secure way
fix sprintf format
zero sensitive data more secure way
zero sensitive data more secure way
remove useless condition 0 > unsigned
Merge branch 'master' of git://github.com/php/php-src