Robustness of early warning signals for catastrophic and non‐catastrophic transitions