[PATCH 4.9 104/117] of: Fix reserved-memory overlap detection