Fix for change in chrome serial API.

getPorts changed to getDevices.