ports state: rm unused imports

************* Module salt.states.ports
salt/states/ports.py:21: [W0611(unused-import), ] Unused import os
salt/states/ports.py:22: [W0611(unused-import), ] Unused import re
Merge pull request #7959 from cvrebert/patch-3

ports state: rm unused imports