Mattias Ekstrom edges Loeb to take opening Dakar Rally prologue