libmtp: fix build in the presence of libgcrypt