This is v2 of my previous patch (https://www.winehq.org/pipermail/wine-devel/2019-February/139590.html), and these are the changes I've made since then:
- Readd functionality to specify alignment as an internal ntdll function virtual_alloc
- Fix tests
- and some minor fix-ups that are not worth mentioning