CPackRPM: avoid a spurious `;` in the `%pre` and other sections with scripts

This was accidentally added by commit 34c8a23044 (CPackRPM: add
scriplets tags only if scripts exist, 2021-04-01, v3.21.0-rc1~387^2).

Fixes: #22501
1 file changed