script/test.bash: fix cpu extraction on mac

The sed command to extract the cpu statement in a .ptt file did only
work correctly with GNU sed. Fix it.

Change-Id: I216248df4e83d3ba11e6ca3544d0b56301074262
Signed-off-by: Christian Himpel <christian.himpel@intel.com>