[emscripten]: Test and stub pathconf + flockfile
flockfile does not make much sense since we cannot write and read to a file at the same time. But it could be possible in the long run (with fs-access API), so it might be good to have it in emscripten. same remark for pathconf.