libctdb: fix wrong argument being handed to callback on attachdb fail