Fixing error return type of OTMDoOwnershipTransfer API in case of NULL callback