That script should set a flag before installing a new kernel version (using 'make install') such that the hibernate script does not suspend to disk using the old kernel.
You need to ask upstream for features, not a Gentoo problem.