[Android] Make variable name consistent in generate_xwalk_core_library.py

It's mix using "dir", "directory" and "folder". Change all to
"dir" for consistency.