ROMFS: fix length used with romfs_dev_strnlen() function