39-foot gray whale washes up on WA beach