std: remove open coded array items count, make floats stand out
Replace the open coded literal 2 in std.c routines, prefer ARRAY_SIZE()
instead in the GVariant construction. To not confuse that item count with
other literals 2 which are related to avoiding floating point issues by
using an epsilon around an imprecise value. See a larger context for an
illustration of the commit's motivation.
Use literal 2.0 instead of 2 where floating point numbers are involved.
To raise awareness during maintenance.