pillar: specify explicit exception type in `except` clause

************* Module salt.pillar
W0702:334,20:Pillar.render_pillar: No exception type(s) specified
Merge pull request #6319 from cvrebert/patch-4

pillar: specify explicit exception type in `except` clause