libroot: Replace rand() and rand_r() implementations with musl versions. These functions are obsolete, anyway. We should probably remove them from the kernel at some point...