engrave: Factor out preview_options

DefaultJob and custom.makeCommandline both use the new
function command.preview_options to conditionally add
options for the debug modes