v8: Replace check for hardfloat vs. softfloat

The check present in v8 doesn't work correctly with gcc 4.7.
This one is a lot simpler, and seems to do the right thing...

Change-Id: I769f816a6991435bbd82f43dd4fad5d2bbc4e99d
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
v8: Fix build in ISO C++ 11 mode

Fixes building with -std=gnu++11 - this is useful for compatibility
with future compilers (where gnu++11 will be the default mode) and
to make additional language features/optimizations (e.g. constexpr)
available.

Change-Id: Ica4a220675f700c1f63d36f46460ca12168bdeb3
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>