Change assert to runtime check.
Change assert to runtime check.

I had a system that was constantly hitting this assert, after making
this change it recovered immediately.

littlefs-project/littlefs,geky/littlefs,littlefs-project/littlefs,geky/littlefs,geky/littlefs,geky/littlefs