BUG: Fix clipping if val_min or val_max is None

In tv_denoising, if val_min or val_max is None, we still get an output full of nan. This was because "clip" was called just before returning with val_min or va_max equals to None. This PR fixes it.