nanddump: make oobbuf allocation dynamic