Optimise & fix R_DisplaceMap.
Optimise & fix R_DisplaceMap.

Its 0 → 1 conversion was wrong; dropped.

Also, the output array is the same array as the input array; cheap
optimisation opportunities there.

DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon