Add support for getrandom() or equivalent system calls and use them by default