fanotify: fix merging marks masks with FAN_ONDIR