CRPS M-estimation for max-stable models