Add assert to check undersampled input
There was a bug in WSClean that causes the undersampled input size to be incorrect in some cases. Such an error is easier to find with this assert.
(see also https://gitlab.com/aroffringa/wsclean/-/merge_requests/604 )
Edited by Andre Offringa