Fix build of mozjs, gpm and libatasmart due to SECURITY_%FLAGS