Enhanced electron trapping and γ ray emission by ultra-intense laser irradiating a near-critical-density plasma filled gold cone