Sri Lanka prison riot toll rises to 27: Minister