dmd hit HEAD compatibility

rvalues (e.g. slices) cannot be passed as ref arguments.