[PATCH 4.19 104/273] of: unittest: Fix overlay type in apply/revert check