Violent clashes have erupted between inmates and security personnel at a prison in the Venezuelan state of Barinas.