Add delimiter override for {grains,pillar}.get

Resolves #12300
Merge pull request #12346 from terminalmage/issue12300

Add delimiter override for {grains,pillar}.get