[PATCH] serial: pl01x: Add error value checking