Reduce local memory usage, remove cl_khr_int64_base_atomics requirement