lib: add Kconfig option for LIB_RAND