The inspection of Perth Sheriff Court's custody unit also revealed graffiti, structural damage and dampness