cmake: add optional source files to bitcoin_crypto and crc32c directly
Avoid having many static libraries by adding the optional sources to the target bitcoin_crypto
directly.
Set the necessary compile options at the source file level, rather than the target level.
fixes: #31697