[monero-project/monero] is_hdd update for windows and linux (#4278)

If you are the author, then you can open a new bug for it. If you are not, then I suggest you ping the author in #monero-dev (nick in the first post) about it. I PRed because the author did not want to make a github account.