doctor: add check for osx-gcc-installer

This might not detect all cases, but should detect the two most
common ones.