changed return value of llGetUsedMemory for scripts that contain memory used checks