core: let PIDs begin with 1

This looks like we want to defined `MAX_PID`.