error_handler argument is now const char* rather than char*

The error_handler functions passed to set_error_handler() should be
declared as accepting const char* rather than char*.