avutil/encryption_info: Don't pass NULL to memcpy