Fix some compilation warning.
Update to new prototype of hpp::core::LockedDof::create.