More detailed error message for InternalError

Uses ERR_error_string_n because the source contains horrible warnings
against ever using ERR_error_string.