Add script for applying patches, add patch for hwcomposer gcc 4.8 build