Use old dict generator syntax in baremetal/test_ports

The old syntax is compatible with Python 2.6 as well.

Change-Id: I9397c92bde3aa2ea4f7831d1995fd52fe5e1788a
1 file changed