core: Use flexible array member if compiler has support.
* configure.ac (AC_C_FLEXIBLE_ARRAY_MEMBER): Add. * src/engine-gpg.c (struct arg_and_data_s): Use FLEXIBLE_ARRAY_MEMBER. (_add_arg): Use offsetof instead of sizeof. (add_data): Likewise.
Before this fix, GCC 11 warns (with its bound checking feature).
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>