Fixed missing NOT_AN_INTERRUPT constant in digitalPinToInterrupt()

Fixes #2379