Seven men have been charged in connection with riots at an open prison in West Sussex on New Year's Day.