MCLDUGens: NearestN - avoid deadlock

GET_BUF locks the buffer, so we have to make sure that it runs out of scope
before calculating the first sample

Signed-off-by: Tim Blechmann <tim@klingt.org>