Fix ndk-build fails in cygwin if NDK package is referenced via symlink

Fix similar issue in ndk-gdb* as well.

Internal BUG ref 11445081

Change-Id: Ia6abb06d066de780be7090ba3aa20425f0cc5559
diff --git a/ndk-gdb-py b/ndk-gdb-py
index 11643d4..b2001b8 100755
--- a/ndk-gdb-py
+++ b/ndk-gdb-py
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 PROGDIR=`dirname $0`
-PROGDIR=`cd $PROGDIR && pwd`
+PROGDIR=`cd $PROGDIR && pwd -P`
 
 # Check if absolute NDK path contain space
 #