libdlm: fix lvb copying
libdlm: fix lvb copying

When a program does a lock operation that reads an lvb, libdlm
copies the lvb data from a bogus location instead of from the
proper offset in the buffer it just read.  The location of the
lvb data is calculated wrongly due to a missing cast.

Signed-off-by: David Teigland <cf7ba74ea50525d3d47fcd7a6d69b51121a9f873@redhat.com>

asp24/resource-agents,stevenraspudic/resource-agents,stevenraspudic/resource-agents,asp24/resource-agents,stevenraspudic/resource-agents,asp24/resource-agents