gio-launch-desktop: replace static_assert with G_STATIC_ASSERT
Due to static_assert only being defined in C11, compilation of gio/gio-launch-desktop.c
fails on a musl-based Linux system via -Werror=implicit-function-declaration
. Resolves #2713 (closed).