<rpc/types.h>: Use our standard definition for NULL, instead of 0.

Also fix a warning in spray(8) that was triggered by this change.