See: https://go.dev/doc/go1.19#go-doc
This is possible now that we no longer support go1.12 and brings rclone into line with standard practices in the Go world. This also removes errors.New and errors.Errorf from lib/errors and prefers the stdlib errors package over lib/errors.
Same fix as c5775cf73d0e993625a688454ae158335aac6e94