add 'unsupported cipher mode' diagnostics to evp_lib.c and genpkey.c