Fix GetApplicationDirectory() null termination error
Fix GetApplicationDirectory() null termination error

readlink is used to find the directory the executable resides in,
however readlink does not null terminate the returned string. If the
buffer does not have zero bytes at the end already, then you can have
errors.

clangen/musikcube,clangen/musikcube,onnerby/musikcube,onnerby/musikcube,clangen/musikcube,clangen/musikcube,onnerby/musikcube,clangen/musikcube,clangen/musikcube,onnerby/musikcube,clangen/musikcube,clangen/musikcube,onnerby/musikcube