Channel Characterization of RIS-Aided Systems Over Nakagami-m Fading Channels: A More Efficient Exact Approach