macos: MacOS has deprecated getdirentries, so just disable the code. Hopefully it isn't used much
macos: MacOS has deprecated getdirentries, so just disable the code.
Hopefully it isn't used much

andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin