Simplify pgaspi_proc_rank, requires usage of NDEBUG

I propose to change from 'ifdef DEBUG' to 'ifndef NDEBUG' and thus intertwine with assert from assert.h. In many case like the one above, we then can avoid the preprocessor macros.