Fixed PHP-734: Possible segfaults when error_message is not set