powerpc/scom: Change scom_read() and scom_write() to return errors