fix format string in loadLibrary call to snprintf

"%*s" means "at least", whereas "%.*s" means at most, and the latter
is what I intended.  This only became noticable as of 9f22a70, when I
added another directory to the library path, which caused loadLibrary
to fail to find libraries in either directory.
use rpath=$ORIGIN instead of LD_LIBRARY_PATH

Hi

If libjvm.so is in the same directory as avian-dynamic, then there's
no need for LD_LIBRARY_PATH to include that directory, we can just set
the rpath in avian-dynamic to $ORIGIN when linking it. Working patch
attached.

Regards
Damjan
java.lang.Math.log() and java.lang.Math.tan()
Add java lang math methods
RandomAccessFile
Fix RAF
Add android platform
Android toolchain
Path fix
Fix android makefile
Add android redirect to logcat
Fix proguard warnings

Conflicts:

	TODO.if.merge
Windows Phone 8 / Windows RT initial support

Conflicts:

	makefile
Makefile fix
Replaced TODO comments with messages ; More correct AVIAN_AOT_ONLY usage
WinRT/WP8 process=compile
Add last modified to file
Fix library overwriting ; proper assembler flags
Fixes to WP8/WinRT support
Additional AOT_ONLY ifdef