build: Fix disabling PIE

Commit 419b7227dd7ed2a23faaba0d393d6d6ee5c46925 was not cherry-picked
properly and the correct cflags were never set

Change-Id: I3bc6014fe791e2e8a4cca5106e70f23279c5e43c