Revert "Revert "binder: Fix ABI incompatibility between older and newer compilers""

This reverts commit 2de026bd06fdcd23b66bbfdd1730d547f1c21d17.