Pope Leo has criticised the treatment of prisoners in Equatorial Guinea, ahead of a visit to a jail known for its dire conditions.