stlport: Fix strict aliasing violations

This patch fixes strict aliasing violations.
Forward-ported from Chao Yang <chao.yang@linaro.org>'s
patch for 2.3.5.

Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
stlport: Fix incompatibility with clang++ (used by llvm) in ISO C++11 mode

clang++ has a strange idea about wchar_t

Change-Id: I9f73e88cc06c35e988b33576ea235046ea51d546
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
stlport: Force building PIC code

Required for gcc 4.7

Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Make sure std::size_t is defined when it's being used

Change-Id: I40a3fbed0a32b8739f3c2c46a88e00efa12c228d
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>