[Fix][stack-buffer-overflow] Use gboolean when using g_variant_get for boolean.
Description: g_variant_get API expects reference of gboolean variable
in third parameter, and we arepassing reference of bool variable.
As per Glib's documentation, gboolean is typecast of int.
=================================================================
(Reference: https://people.gnome.org/~desrt/glib-docs/glib-Basic-Types.html#gboolean)
gboolean
typedef gint gboolean;
A standard boolean type. Variables of this type should only contain the value TRUE or FALSE.
=================================================================
Change-Id: I84f0120229a2a9eeec976b1785d5cc4d112db534
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>