type/GenericStacked: make stack NaN-safe using ADDNAN instead of +

Reported-By: Julien Genestoux <julien.genestoux@gmail.com>
             (https://github.com/pommi/CGP/issues/24)
indent