rsniftiutils: fixes for other datatypes than float32