Size Effect on Mechanical Properties of Rock-Like Materials with Three Joints