lightnvm: make sure to not schedule while atomic

We shouldn't do schedule() within locking context.