Update serialize.h

Remove redundant insert method in serialize. Same as https://github.com/bitcoin/bitcoin/pull/3162