x64-upstream: Build md5sum for debug unit test and use device_name as log dir name