advapi32: Use the open_for_write parameter to open_cred_mgr_key and fix get_cred_mgr_...