kaplibs: Fix bug in calculation of RMS in kpg1Fit1d

This affects the noise used for filling gaps in smurf:makemap.