Revert "LU-2943 mdt: Not return -EREMOTE for open lock."

This reverts commit 9de7e11042ce3522bf671d0c99deef82a2343cfd.

The commit 9de7e11 was based on patch set #1. Problems were reported using
this patch set.
LU-2943 mdt: Not return -EREMOTE for open lock.

Instead of returning -EREMOTE for open_lock, it will check
the open lock by the DISP_OPEN_LOCK, otherwise it will cause
transno being wrongly set to 0.
This is b2_1 version/port of master patch for LU-2927
(Change #5694 with Change-Id I4f3bccea in Gerrit).

[jlan: This commit was patchset #3 of the LU]

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: If66f83ab227d524f0cecb8d30b3aa7c272ec3047