s3: add explicit configure option whether or not to enable dmapi support