aosp port for libgomp fixes

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>