Golden State withstands James’ 51 points, beats Cleveland 124-114