MB-8481 Fix strict aliasing issue on gcc 4.4 and below
MB-8481 Fix strict aliasing issue on gcc 4.4 and below

GNU GCC 4.4.7 and Apple's LLVM'ed GCC 4.2.1 give the following
strict-aliasing warning when compiling with -O2 (which is the
level we use for GNU/Linux releases) or -O3 and -Wstrict-aliasing=2/3
to the compiler:

src/couch_db.c: In function 'find_header_at_pos':
src/couch_db.c:50: warning: dereferencing type-punned pointer will break strict-aliasing rules

In order to get the warning on Apple's 4.2.1, pass -fstrict-aliasing
to the compiler, as the strict-aliasing optimization is not enabled
by default for -O2 level (and above) on GCC versions prior to 4.4.

Currently for GNU/Linux releases at least, we use GCC 4.4 (see
https://github.com/couchbase/voltron/blob/master/README.md).

Change-Id: Ie26ddb68fa3e506b126c99282c2162f35abdf88e
Reviewed-on: http://review.couchbase.org/26994
Reviewed-by: Volker Mische <fb414f8ac0dbbf87663550ae4ef5fc95b1041941@gmail.com>
Tested-by: Filipe David Borba Manana <e0fcd583df77ec6c08e6d1257619cc1216ddc994@gmail.com>

jimwwalker/couchstore,abhinavdangeti/couchstore,couchbaselabs/couchstore,jimwwalker/couchstore,couchbaselabs/couchstore,couchbaselabs/couchstore,jimwwalker/couchstore,t3rm1n4l/couchstore,abhinavdangeti/couchstore,vmx/couchstore,vmx/couchstore,abhinavdangeti/couchstore,t3rm1n4l/couchstore,vmx/couchstore,t3rm1n4l/couchstore