Fix search path for lua scripts in subdirectories

To demonstrate, see below sample main.lua code:

```
cc.FileUtils:getInstance():addSearchResolutionsOrder("src")
require("lib.script")
```

Before, the code would search for "lib/src/script.lua" instead of the correct path "src/lib/script.lua". This pull request fixes this issue.