dm_task_create returns NULL on error, make this an option in OCaml

Signed-off-by: David Scott <dave.scott@eu.citrix.com>