providers/common/der/build.info: Improve checks of disabled algos
providers/common/der/build.info: Improve checks of disabled algos

This protects us from unwanted GENERATE statements in particular.

Reviewed-by: Matt Caswell <1fa2ef4755a9226cb9a0a4840bd89b158ac71391@openssl.org>
Reviewed-by: David von Oheimb <fbbca6c63636e78e7034aaf1b4aa3a9736383192@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/13626)

openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl