rcld: Fix potential memory leak when creating a console fails

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
rpc: Add some assertions in XDR code

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