Cardiff manager Neil Warnock says he could have signed Virgil van Dijk for £6m during his time at Crystal Palace.