generate_specenum.py: NULL -> nullptr
Replace NULLs with nullptr in generate_specenum.py generated code.
Replace NULLs with nullptr in generate_specenum.py generated code.