[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: I89ee1d9e367efec6355d31837d3efbcb13d0fabb
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>