gvaluetransform: Fix an infinite loop with GFlagsValue sets with the 0 value