[sr-dev] git:4.0: modules/app_lua: Fix off-by-one error in modf