Remove never-used SPRV_ERROR status and simplify some flow control as a result.