kernel: fix loading initial ram device

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>