Revert "FORTIFY_SOURCE: optimize"

This reverts commit 1e8faf0d73d7f4cf8da8a141d4749dc35b166756.
Revert "FORTIFY_SOURCE: fortify strrchr"

This reverts commit f9c4e0a57ce9b5a96a7bccdb690bf8ae4084af65.
Revert "FORTIFY_SOURCE: fortify strchr"

This reverts commit 837ff616a8b7458f2d66bffcfec5b43c5f9226d4.
various changes taken from codefireX bionic

Source commits:
https://bitbucket.org/codefirex/bionic/commits/f0e321d23cccddda6277ab0c772451bb7399b9df?at=jb-devel
https://bitbucket.org/codefirex/bionic/commits/5a13a706c0362c5ebbe68d48c5a3d1bd624c94bb?at=jb-devel
https://bitbucket.org/codefirex/bionic/commits/696a86b19b1ad3d9659694f1feb54937ec56f6e5?at=jb-devel

Change-Id: I421bd6943fd47cd419327edb6c2de30b74cf88fe