Remove code for dynamically loading a trace library

No code exists within the project for building such a trace library.

This also fixes building on OS X with -Wno-deprecated-declarations
removed, since this code contained calls to deprecated functions
within #ifdef MACOS, which now are enabled when building on OS X.
Remove unused defines of __FASTCALL
Remove duplicate defines

These are defined identically just a few lines above.
Remove some unused macros
Move the definition of WELS_ALIGN out from the #if

Both versions of WELS_ALIGN are identical, so there's no need to
be able to switch between the two.
Remove an unnecessary define of inline for APPLE_IOS

The standard inline keyword is supported just fine when building
for iOS, there's no need to define it there.
Bundle all MSVC/GCC alignment macros together

This reduces the number of lines spent on having the same
ifdef conditions over and over.
Clarify ifdefs around implementations of ENDIAN_FIX
Remove a duplicate median function

The decoder used WelsMedian while the encoder used WELS_MEDIAN.
The former has two different implementations, WELS_MEDIAN was
identical to the disabled version of WelsMedian.

Settle on using the same implementation for both decoder and
encoder - whichever version of the implementations is faster
should be used for both.
Merge pull request #204 from mstorsjo/remove-dynamic-load-trace

Remove code for dynamically loading a trace library
Merge pull request #210 from mstorsjo/cleanup-macros

Cleanup the common/macros.h header
Removed unused makefile variable
Remove non-existent dir from makefile
Do not set makefile variable if not actually required
Use correct format specifier to avoid compiler warnings
Merge pull request #218 from varunbpatil/correct_format_spec

Use correct format specifier to avoid compiler warnings
Merge pull request #217 from varunbpatil/make_cleanup

Removed unused makefile variable