We have this issue on the 3 series. The whistle mostly comes from the driver side mirror. Not so noticeable when the window is closed.
Hopefully it is not the same place because BMW should have this resolved by now. It has to do with the two-piece mirror casing construction.