Panel of appeal court justices say first-time offender Mohammad Oryia had it hard enough at the infamous lockup