Use a local buffer for ERR_error_string()

refs #6724
refs #6682