IMFS: Update IMS_assert check when RTEMS_DEBUG is enabled.
Update the assert macro to the new IMFS_jnode_t.