generic: opensc: add old cardmod-mingw-compat.h

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>