switch to `diskutil` for eject

Mostly to see if this reduces random Travis errors, but also
because `diskutil eject` is a documented interface, and
`hdiutil eject` is not.
Merge pull request #4975 from rolandwalker/diskutil_eject

switch to `diskutil` for eject