Fixed getmntinfo() call on FreeBSD (#30851)
Fixed getmntinfo() call on FreeBSD (#30851)

* fix test for System.IO.FileSystem.DriveInfo.Tests.dll

* change 1 for MNT_WAIT for better readability

* moved directives to beginning of the line

* removed special case for FreeBSD and made it general

ericstj/corefx,ptoonen/corefx,ViktorHofer/corefx,mmitche/corefx,wtgodbe/corefx,mmitche/corefx,ericstj/corefx,ericstj/corefx,BrennanConroy/corefx,wtgodbe/corefx,mmitche/corefx,ViktorHofer/corefx,wtgodbe/corefx,wtgodbe/corefx,Jiayili1/corefx,shimingsg/corefx,ptoonen/corefx,Jiayili1/corefx,ViktorHofer/corefx,BrennanConroy/corefx,shimingsg/corefx,Jiayili1/corefx,ericstj/corefx,wtgodbe/corefx,shimingsg/corefx,ericstj/corefx,ericstj/corefx,Jiayili1/corefx,wtgodbe/corefx,ptoonen/corefx,mmitche/corefx,mmitche/corefx,ptoonen/corefx,shimingsg/corefx,ViktorHofer/corefx,ViktorHofer/corefx,ptoonen/corefx,shimingsg/corefx,mmitche/corefx,ericstj/corefx,BrennanConroy/corefx,shimingsg/corefx,Jiayili1/corefx,wtgodbe/corefx,ViktorHofer/corefx,ViktorHofer/corefx,mmitche/corefx,ptoonen/corefx,Jiayili1/corefx,shimingsg/corefx,ptoonen/corefx,Jiayili1/corefx