The m→0 limit for massive graviton in dS4 and AdS4 — How to circumvent the van Dam–Veltman–Zakharov discontinuity