libc: stub system() libc function

It uses /bin/sh to execute a command. It can fail if fork fails, and that is what
we emulate here.

Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>