Fixed byte range lock merging when up- or downgrading sub-ranges

Signed-off-by: Manfred Haubrich <haubrich@de.ibm.com>