Use offsetof instead of null ptr calculation.
* src/secmem.c (_gcry_secmem_realloc_internal): Use offsetof.