SOFTHSM-83: Also make sure that CKA_VALUE_BITS is serialised.
Copy the serialisation code to RSA from DH.