engines/sg: add cmdp and dxferp for trims to sg error string