Upper Egypt prison shaken by riot