8svx: Return proper error codes

Signed-off-by: Diego Biurrun <diego@biurrun.de>
asv: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>