common.mk: check whether -std=gnu11 and -fno-strict-aliasing are supported

Signed-off-by: Steven Noonan <steven@uplinklabs.net>