Replace github.com/pkg/errors with Go standard library error handling
<!---
Please read this!
Before opening a new issue, make sure to search for keywords in the issues
filtered by the "bug" label:
- https://gitlab.com/gitlab-org/cli/-/issues/?label_name%5B%5D=type%3A%3Abug
and verify the issue you're about to submit isn't a duplicate.
--->
### Summary
<!-- Summarize the bug encountered concisely -->
Replace usage of deprecated `github.com/pkg/errors` with Go standard library error handling (`errors`, `fmt.Errorf` with `%w`).
### What is the current _bug_ behavior?
<!-- What actually happens -->
The project depends on `github.com/pkg/errors`, which has been superseded by the Go standard library since Go 1.13.
### What is the expected _correct_ behavior?
<!-- What you should see instead -->
Use the standard library for error handling:
- `fmt.Errorf("...: %w", err)` instead of `errors.Wrap`
- `errors.New` instead of `errors.New` from external package
### Possible fixes
<!-- If you can, link to the line of code that might be responsible for the problem -->
Replace usages of:
- `errors.Wrap`
- `errors.Errorf`
- `errors.New` (from external package)
with their standard library equivalents.
MR will follow.
issue