Gallery2: Fix build in ISO C++11 mode

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>