Add a quiet retcode wrapper for grain executions.

This fixes #11361 regression introduced by c341c0ebc4978ccdb75b22a1f2eec012b558980b.