Revert "frameworks/native: Fix a race condition leading to a fence deadlock"

This reverts commit 45cb743f7b13262d17b81936cf18a8b6d3ac7072.