Average Rate and Error Probability Analysis in Short Packet Communications Over RIS-Aided URLLC Systems