Remove upstreamed patches. Added missing libatomic dependency. Signed-off-by: Rosen Penev <rosenp@gmail.com>