helper: Convert callers of direct error wrapping directives to use format wrapping
The error-related functions in the helper package are deprecated in favor of the structerr
package. To make the migration easier, this MR converts a subset of our direct error-wrapping functions to use error wrapping via formatting directives.