Change FIPS locking functions to macros so we get useful line information.
Change FIPS locking functions to macros so we get useful line information.

Set fips_thread_set properly.

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