Backout changeset 34235900c3a0 (bug 1036286) because it wasn't the right fix.
Bug 1048064 - Fix libstagefright build on GNU/kFreeBSD. r=ajones